package com.jugheadzhou.emrpoc.service;

import com.jugheadzhou.emrpoc.model.MedicalRecordType;

import java.util.List;

/**
 * @author jugheadzhou
 * @date 2021-10-24
 */
public interface MedicalRecordTypeService {

    /**
     * 病病历类型保存
     *
     * @param medicalRecordType 病历类型对象
     * @return
     */
    int save(MedicalRecordType medicalRecordType);

    /**
     * 病历类型删除
     *
     * @param id 病历类型主键ID
     * @return
     */
    int delete(String id);

    /**
     * 查询病历列表
     *
     * @return
     */
    List<MedicalRecordType> list();
}
